package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_dmc_rfid_reader_location")
public class DmcRfidReaderLocation {
    /**
     * 设备Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 门禁读卡器位置
     */
    private String location;

    /**
     * 获取设备Id
     *
     * @return device_id - 设备Id
     */
    public Long getDeviceId() {
        return deviceId;
    }

    /**
     * 设置设备Id
     *
     * @param deviceId 设备Id
     */
    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取门禁读卡器位置
     *
     * @return location - 门禁读卡器位置
     */
    public String getLocation() {
        return location;
    }

    /**
     * 设置门禁读卡器位置
     *
     * @param location 门禁读卡器位置
     */
    public void setLocation(String location) {
        this.location = location;
    }
}